<B:UIVAART x:Class="WPFExcelReport.UIQTST"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
             xmlns:B="clr-namespace:WPFExcelReport;assembly=TVAART" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                      xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
            xmlns:VAK="clr-namespace:WPFExcelReport;assembly=TVAKOLL" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <B:UIVAART.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>   
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </B:UIVAART.Resources>
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        
        <WrapPanel  Grid.Row="2">
            <VAK:TSVA02   KEY="{Binding KOLL,ElementName=TV}"  
                              />
            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=品种:}}"></TextBlock>
                <ex:TXT72  Grid.Column="1" Text="{Binding ART,ElementName=TV,Converter={StaticResource gb2312}}"  
                           KeyUp="Query_KeyUp" CharacterCasing="Upper"  Width="100" FontSize="18"/>
            </Grid>

            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=供应商品种:}}"></TextBlock>
                <ex:TXT72  Grid.Column="1"  Text="{Binding FARBE,ElementName=TV,Converter={StaticResource gb2312} }"
                           MaxLength="20" KeyUp="Query_KeyUp"  CharacterCasing="Upper" Width="100" FontSize="18"/>
            </Grid> 
            <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=描述:}}"></TextBlock>
                <ex:TXT72  Grid.Column="1"  Text="{Binding DES,ElementName=TV,Converter={StaticResource gb2312} }"
                           Width="250" KeyUp="Query_KeyUp"  FontSize="18" />
            </Grid>
        </WrapPanel>
        
    </Grid> 
</B:UIVAART>

    
